<%@ Register TagPrefix="skm" Namespace="FAQControls" Assembly="FAQControls" %>
<%@ Page language="c#" ValidateRequest="False" Codebehind="EditFAQ.aspx.cs" AutoEventWireup="True" Inherits="Adge.Web.Faq.Admin.EditFAQ" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
		<title>skmFAQs.NET :: Edit FAQ</title>
		<LINK href="../FAQstyle.css" type="text/css" rel="stylesheet">
  </HEAD>
	<body MS_POSITIONING="FlowLayout">
		<form id="Form1" method="post" runat="server">
			<p>
				<skm:LoginPanel id="LoginPanel1" runat="server" Cssclass="faq_logout"></skm:LoginPanel></p>
			<h1>Edit a FAQ</h1>
			<div class="faq_breadcrumb"><a href="Default.aspx">skmFAQs.NET Administration</a> &gt;
				<a href="FAQAdmin.aspx">FAQ Administration</a> &gt; Edit a FAQ</div>
			<asp:ValidationSummary id="ValidationSummary1" runat="server"></asp:ValidationSummary>
			<p><table border="0">					
					<TR <asp:Literal Runat="server" ID="questionBGColor"></ASP:LITERAL>>
    
						<td align="right" valign="top">
							<STRONG>Question:</STRONG></td>
						<td align="left">
							<ftb:FreeTextBox id="question" runat="server" SupportFolder="FreeTextBox/"></ftb:FreeTextBox>
							<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="You must provide a question for the FAQ."
								ControlToValidate="question">*</asp:RequiredFieldValidator>
						</td>
					</TR>
					<tr <asp:Literal Runat="server" ID="categoryBGColor"></ASP:LITERAL>> 
    
						<td align="right" valign="top">
							<STRONG>Category:</STRONG></td>
						<td align="left">
							<asp:DropDownList id="category" runat="server" DataTextField="Name" DataValueField="CategoryID"></asp:DropDownList>
						</td>
					</tr>
					<tr>
						<td align="center" colspan="2">
							<STRONG>FAQ Answer</STRONG></td>
					</tr>
					<asp:PlaceHolder ID="FAQPartsPlaceHolder" Runat="server"></asp:PlaceHolder>
					<tr>
						<td align="right" valign="top">
							<STRONG>Approved:</STRONG></td>
						<td align="left">
							<asp:Label id="approved" runat="server"></asp:Label>
						</td>
					</tr>
					<tr>
						<td align="center" colspan="2">
							<asp:Button id="btnCreateFAQ" runat="server" Text="Save FAQ Changes" onclick="btnCreateFAQ_Click"></asp:Button>&nbsp;&nbsp;
							<asp:Button id="btnCancel" runat="server" Text="Cancel" CausesValidation="False" onclick="btnCancel_Click"></asp:Button>
						</td>
					</tr>
				</table>
			</p>
		</form>
		<P></P></FORM>
	</body>
</HTML>
